<template>
  <div class="login">
    <div class="login-panel">
      <login-left></login-left>
      <login-right></login-right>
    </div>
  </div>
</template>

<script>
import LoginLeft from "./cpns/login-left.vue";
import LoginRight from "./cpns/login-right.vue";
export default {
  components: {
    LoginLeft,
    LoginRight,
  },
};
</script>

<style lang="scss" scoped>
.login {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  padding-top: 12vh;
  background-color: #f2f4f7;
}
.login-panel {
  overflow: hidden;
  display: flex;
  margin: 0 auto;
  width: 900px;
  height: 584px;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1360px) {
  .login-panel {
    width: 750px;
    height: 584px;
    background-color: #fff;
  }
}
</style>
